package se.webbzon.boltzmann.editor.component.sequence.panel.factory;

import java.util.ArrayList;
import java.util.Collection;

import se.webbzon.boltzmann.factory.AbstractFactoryException;

public class DefaultRowPanelFactoryGroup extends AbstractRowPanelFactoryGroup {

	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a new default row panel factory group. **/
	public DefaultRowPanelFactoryGroup() throws AbstractFactoryException {
		super(makeFactories());
	}

	/*============================================================
	Private Methods
	============================================================*/
	
	private static final Collection<AbstractRowPanelFactory> makeFactories() {
		ArrayList<AbstractRowPanelFactory> factories =
				new ArrayList<AbstractRowPanelFactory>();
		
		// Add factories to group
		factories.add(new AssignmentRowPanelFactory());
		factories.add(new ConditionRowPanelFactory());
		factories.add(new GameEventRowPanelFactory());
		factories.add(new SimpleDialogueRowPanelFactory());
		factories.add(new ChoiceDialogueRowPanelFactory());
		factories.add(new IntegerDialogueRowPanelFactory());
		factories.add(new ItemDialogueRowPanelFactory());
		
		return factories;
	}
}
